class Car:
    def __init__(self,catgory,name):
        self.catgory = catgory
        self.name = name

    def type(self):
        print(f'我的类型是{self.catgory},具体名字叫：{self.name}')